/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package models;

import play.db.jpa.Model;

import javax.persistence.Entity;
import javax.persistence.OneToMany;
import java.util.List;

/**
 * @author igorov
 */
@Entity(name = "auditorium")
public class Auditorium extends Model {

//    @OneToMany(mappedBy = "auditorium")
//    public List<AuditoriumEvent> auditoriumEvents;

    @OneToMany(mappedBy = "auditorium")
    public List<Presentation> presentations;

    public String name;
    public String ubication;

}
